load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "windows",
    srcs = [
        "aliases.go",
        "dll_windows.go",
        "empty.s",
        "env_windows.go",
        "eventlog.go",
        "exec_windows.go",
        "memory_windows.go",
        "race.go",
        "race0.go",
        "security_windows.go",
        "service.go",
        "setupapierrors_windows.go",
        "str.go",
        "syscall.go",
        "syscall_windows.go",
        "types_windows.go",
        "types_windows_386.go",
        "types_windows_amd64.go",
        "types_windows_arm.go",
        "zerrors_windows.go",
        "zknownfolderids_windows.go",
        "zsyscall_windows.go",
    ],
    importmap = "github.com/cockroachdb/cockroach/vendor/golang.org/x/sys/windows",
    importpath = "golang.org/x/sys/windows",
    visibility = ["//visibility:public"],
    deps = select({
        "@io_bazel_rules_go//go/platform:windows": [
            "//vendor/golang.org/x/sys/internal/unsafeheader",
        ],
        "//conditions:default": [],
    }),
)
